import {get,post} from "../utils/request.js"
// 密码登录
const login=params=>post('/api/member/login',params)
// 验证码登录
const loginByCode=params=>post('/api/member/loginByCode',params)
// 发送验证码
const sendcode = params =>post('/api/member/sendcode',params)
// 密码注册
const reg = params=>post('/api/member/reg',params)
// 验证码注册
const regByCode=params=>post('/api/member/regByCode',params)
// 忘记密码
const changePassForget=params=>post('/api/user/member/changePassForget',params)
// 修改密码
const changePass=params=>post('/api/user/member/changePass',params)
export {
	login,
	loginByCode,
	sendcode,
	reg,
	regByCode,
	changePassForget,
	changePass
}
export default{}